Skip to content

webkit: fix IndexedDB blob support detection - #9300

Merged
alxndrsn merged 3 commits into
apache:masterfrom
alxndrsn:bump-playwright-2026
Nov 30, 2026
Merged

alxndrsn merged 3 commits into
apache:masterfrom
alxndrsn:bump-playwright-2026

Conversation

@alxndrsn

@alxndrsn alxndrsn commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Recent webkits throw blob-support failure differently to the historic expectations of IndexedDB-backed adapters.

Affected adapter-idb.

Uncovered when trying to upgrade playwright dependency.

Closes #9087

Overview

Fix IndexedDB support (adapter-idb, adapter-indexeddb) in WebKit private browsing.

Testing recommendations

CI with latest playwright.

Related Issues or Pull Requests

Checklist

  • I am not a bot
  • This is my own work, I did not use AI, LLM's or similar technology for code or docs generation
  • Code is written and works correctly
  • Changes are covered by tests
  • I modified the types to reflect the changes, if necessary
  • Documentation changes were made in the docs folder

alxndrsn added 3 commits November 30, 2026 07:03
Recent webkits throw blob-support failure differently to the historic expectations of IndexedDB-backed adapters.

Affected both adapter-idb and adapter-indexeddb.

Uncovered when trying to upgrade playwright dependency.

Supersedes apache#9148
@alxndrsn
alxndrsn marked this pull request as ready for review November 30, 2026 09:49

@janl janl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a neat trick to make things work, but I feel uneasy about the function arg flip-flop. i.e. the intention of the fun behaviour is defined in the call sites and not the function itself, but I also can’t see a nicer way to do this. So I wrote this :)

@alxndrsn

Copy link
Copy Markdown
Contributor Author

@janl I have similar feelings. One alternative would be to inline checkBlobSupport() into the two adapterts, and then maybe extract some parts of it back into utils.

@alxndrsn
alxndrsn merged commit 576e77d into apache:master Nov 30, 2026
89 checks passed
@alxndrsn
alxndrsn deleted the bump-playwright-2026 branch November 30, 2026 10:21
@janl

janl commented Nov 30, 2026

Copy link
Copy Markdown
Member

@alxndrsn yeah I considered that but seems hardly worth the effort. This will do for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

db.info() hangs in Safari private browsing

2 participants